package info.pinlab.pinplayer.view;

import info.pinlab.pinplayer.control.TaskController;
import info.pinlab.pinplayer.model.response.Response;
import info.pinlab.pinplayer.model.response.ResponseContent;
import info.pinlab.pinplayer.model.task.Task;


public interface TaskView{
	
	
	public void setTask(Task task);
	
	public void setTaskController(TaskController controller);
	
	/**
	 * In case forced stop (e.g., time limit), gets response.
	 * 
	 * @param response
	 */
	public ResponseContent getResponse( );
	
	/**
	 * For setting last response state.
	 * 
	 * @param response
	 */
	public void setState(Response response);
	
	/**
	 * For example to disable responses (over attemptN).
	 * 
	 * @param b
	 */
	public void setEnabled(boolean b);
}
